﻿using System;
using RpcHelper.Validate;

namespace Wedonek.RpcStore.Service.Model
{
        /// <summary>
        /// 自动任务
        /// </summary>
        public class AutoTask
        {
                /// <summary>
                /// 任务Id
                /// </summary>
                public Guid Id
                {
                        get;
                        set;
                }
                /// <summary>
                /// 所属区域Id
                /// </summary>
                public long RegionId
                {
                        get;
                        set;
                }
                /// <summary>
                /// 任务名
                /// </summary>
                public string TaskName
                {
                        get;
                        set;
                }
                /// <summary>
                /// 任务说明
                /// </summary>
                public string TaskShow
                {
                        get;
                        set;
                }
                /// <summary>
                /// 任务优先级
                /// </summary>
                public int TaskPriority
                {
                        get;
                        set;
                }
                /// <summary>
                /// 任务开始的步骤
                /// </summary>
                public short BeginItem
                {
                        get;
                        set;
                }
                /// <summary>
                /// 任务失败时通知的Emall列表
                /// </summary>
                public string[] FailEmall
                {
                        get;
                        set;
                }
                /// <summary>
                /// 版本号
                /// </summary>
                public int VerNum
                {
                        get;
                        set;
                }
        }
}
